import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { HttpclientProvider } from '../../providers/httpclient/httpclient';
@Component({
    selector: 'page-home',
    templateUrl: 'home.html'
})
export class HomePage {
    constructor(public navCtrl: NavController, public httpclient: HttpclientProvider) {}

    ionViewDidEnter() {}

    getTidbits() {
        let obj = {
            key: '1e81b0eb3edb0',
            name: '1'
        };
        this.httpclient.GET('http://apicloud.mob.com/appstore/health/search', obj, (res, err) => {
            console.log(res);
            console.log(err);
        });
    }
}
